package com.csit.dao;

import java.util.Date;
import java.util.Map;

import com.csit.bean.Pager;
import com.csit.entity.Wastage;

/**
 * 
 * @Description: 损耗Dao
 * @Copyright: 福州骏华信息有限公司 (c)2012
 * @Created Date : 2012-12-8
 * @author longweier
 * @vesion 1.0
 */
public interface WastageDao extends BaseDao<Wastage, Integer> {
	
	/**
	 * 
	 * @Description: 查询列表
	 * @param
	 * @Create: 2012-12-8 下午04:00:27
	 * @author longweier
	 * @update logs
	 * @param pager
	 * @param wastage
	 * @param beginDate
	 * @param endDate
	 * @return
	 * @return
	 * @throws Exception
	 */
	public Pager queryWastageList(Pager pager,Wastage wastage,Date beginDate, Date endDate);
	
	/**
	 * 
	 * @Description: 统计
	 * @param
	 * @Create: 2012-12-8 下午04:01:08
	 * @author longweier
	 * @update logs
	 * @param wastage
	 * @param beginDate
	 * @param endDate
	 * @return
	 * @return
	 * @throws Exception
	 */
	public Map<String, Double> queryTotal(Wastage wastage,Date beginDate, Date endDate);
	
}
